home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / unzip42.zip / VMS.ZIP / make_unzip_gcc.com < prev    next >
Text File  |  1992-03-09  |  1KB  |  47 lines

  1. $ !
  2. $ !        "Makefile" for VMS versions of unzip and zipinfo
  3. $ !            (version:  no crypt + no inflate)
  4. $ !
  5. $ ! Find out current disk and directory
  6. $ !
  7. $ my_name = f$env("procedure")
  8. $ here = f$parse(my_name,,,"device") + f$parse(my_name,,,"directory")
  9. $ set verify    ! like "echo on", eh?
  10. $ !
  11. $ ! Do unzip:
  12. $ !
  13. $ gcc /undef=__STDC__ unzip
  14. $ gcc /undef=__STDC__ extract
  15. $ gcc /undef=__STDC__ file_io
  16. $ gcc /undef=__STDC__     mapname
  17. $ gcc /undef=__STDC__ match
  18. $ gcc /undef=__STDC__ misc
  19. $ gcc /undef=__STDC__ unimplod
  20. $ gcc /undef=__STDC__ unreduce
  21. $ gcc /undef=__STDC__ unshrink
  22. $ gcc /undef=__STDC__ vms
  23. $ gcc /undef=__STDC__ VMSmunch
  24. $ link unzip,extract,file_io,mapname,match,misc,-
  25.     unimplod,unreduce,unshrink,vms,VMSmunch,-
  26. gnu_cc:[000000]gcclib.olb/lib,-
  27.  sys$input:/opt
  28.  sys$share:vaxcrtl.exe/shareable
  29. ! Next line:  put a similar line (full pathname for unzip.exe) in login.com.
  30. ! Remember to include leading "$" before disk name.
  31. $ unzip == "$''here'unzip.exe"        ! set up symbol to use unzip
  32. $ !
  33. $ ! Do zipinfo:
  34. $ !
  35. $ gcc /undef=__STDC__ zipinfo
  36. $ rename misc.c misc_.c;*
  37. $ gcc /undef=_STDC__ /def=(ZIPINFO) misc_
  38. $ rename misc_.c misc.c;*
  39. $ link zipinfo,match,misc_,VMSmunch,-
  40. gnu_cc:[000000]gcclib.olb/lib,-
  41. sys$input:/opt
  42.  sys$share:vaxcrtl.exe/shareable
  43. ! Next line:  put a similar line (full pathname for unzip.exe) in login.com.
  44. ! Remember to include leading "$" before disk name.
  45. $ zipinfo == "$''here'zipinfo.exe"    ! set up symbol to use zipinfo
  46. $ set noverify
  47.